CardReadResultMifareSector

data class CardReadResultMifareSector(val data: List<MifareSectorData>? = null, val uid: String? = null, val status: CardReadStatus, val message: String? = null) : Parcelable

This holds the result of a mifare sector based card read result card related action. This can be a read/write action.

Parameters

message

this can be used to pass any plain text message back to the user

Constructors

Link copied to clipboard
constructor(data: List<MifareSectorData>? = null, uid: String? = null, status: CardReadStatus, message: String? = null)

Properties

Link copied to clipboard
val data: List<MifareSectorData>? = null

The list of mifare sectors and the data in each one of them

Link copied to clipboard
val message: String? = null
Link copied to clipboard

the status of the card request. This will indicate if the result is successful or if it failed.

Link copied to clipboard
val uid: String? = null

The uid of the card corresponding to this card action. This is usually always available for all card actions unless the UID of the card could not be read.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)